package com.skyline.jfs.namespace.dao;

import java.util.List;

import com.skyline.jfs.namespace.model.JFSFile;

public interface JFSFileDao {

	public List<JFSFile> findAllSubFiles(Long dirID);

	public List<JFSFile> findAllSubFiles(String dir);
	
	public void insertFile(Long parent,String name,String path,Long size,Integer replicNum,Integer permission);
	
	public JFSFile findFileByID(Long id);
	
	public JFSFile findFileByDir(String dir);
}
